package com.wangzefeng.shop.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;

/**
 * <p>
 * 流程节点表
 * </p>
 *
 * @author wangzefeng
 * @since 2021-03-18
 */
public class WorkflowNode implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "node_id", type = IdType.AUTO)
    private Integer nodeId;

    /**
     * 节点key
     */
    private String nodeKey;

    private Integer workflowId;

    /**
     * 节点名称
     */
    private String nodeName;


    public Integer getNodeId() {
        return nodeId;
    }

    public void setNodeId(Integer nodeId) {
        this.nodeId = nodeId;
    }

    public String getNodeKey() {
        return nodeKey;
    }

    public void setNodeKey(String nodeKey) {
        this.nodeKey = nodeKey;
    }

    public Integer getWorkflowId() {
        return workflowId;
    }

    public void setWorkflowId(Integer workflowId) {
        this.workflowId = workflowId;
    }

    public String getNodeName() {
        return nodeName;
    }

    public void setNodeName(String nodeName) {
        this.nodeName = nodeName;
    }

    @Override
    public String toString() {
        return "WorkflowNode{" +
        "nodeId=" + nodeId +
        ", nodeKey=" + nodeKey +
        ", workflowId=" + workflowId +
        ", nodeName=" + nodeName +
        "}";
    }
}
